/*!
 * \file dubbo_serialize_dubbo.h
 *
 * \brief 共通定义
 *
 * All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.\n
 * 共通使用的宏和结构体
 *
 * \version 1.0
 * \author jikw
 * \date 2016/12/19
 *
 */

#ifndef __DUBBO_SERIALIZE_DUBBO_H_
#define __DUBBO_SERIALIZE_DUBBO_H_

#include "dubbo_core.h"

union int32_float_bits {
    int32_t int_bits;
    float float_bits;
};

union int64_double_bits {
    int64_t int_bits;
    double double_bits;
};

int serialize_dubbo_writestring(Frbyte_Packet *p_packet, Frreport_body_data *p_st_body_data, char *p_name);
int serialize_dubbo_readobject(Frbyte_Packet *p_packet, Frreport_body_data *p_st_body_data, char *p_name);
int serialize_dubbo_req_body_parse(Frbyte_Packet *p_packet, Frreport_body_data *p_st_body_data);

#endif
